package com.bdqn.xu.service.impl;

import com.bdqn.xu.dao.ReplyDetailDao;
import com.bdqn.xu.pojo.ReplyDetail;
import com.bdqn.xu.service.Reply_detailService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("replyservice")
public class Reply_detailServiceImpl  implements Reply_detailService {
    @Resource
    private ReplyDetailDao replyDetailDao;
    @Override
    public ReplyDetail getreplybyid(int id){
        return replyDetailDao.getreplybyid(id);
    }
    @Override
    public   void addReply(ReplyDetail replyDetail){
        replyDetailDao.addReply(replyDetail);
    }
    @Override
    public  void delReply(int id){
        replyDetailDao.delReply(id);
    }
}
